Fix unable to delete all tags for an item