deleteNote() can take non-valid inputs now