Fixed delete action actually deleting note