Removed possible wrong condition in randomNotes()