Fixed bug where # of notes wasn't being updated