search for notes by date works