Fix nasty bug where notes in wrong order and when view stops working with multiple notes