Fixed delete note model fn

Also a check for notes that have no tag, I think I just created
this by deleting a note only partially?