Fix duplicate tags/categories in post edit form