Next New Note function doesn't work

When clicking next new note, it will initially select the next available new note, but rather than stopping or providing an error once all new notes have been viewed, it will start at the top and scroll through all the old notes again.