Fixed bug that missed out last page of notes.