fix #1400 where deleting a user will clean up tags and dependencies too