api bugfix: deleting a note file (local) when it doesnt exist was breaking