Fix typo in cmd_notes
Land #1829, uninvert note searching.