Fix for tags falling out of tag sets

Issue 3317: Fix for tags falling out of tag sets (stop deleting tags when their taggings are deleted).

https://code.google.com/p/otwarchive/issues/detail?id=3317