Fix crasher on encountering SHA1-like non-note in notes tree