Prevent duplicate tags when saving a new post.

Thanks @thedod for pointing this out! Looks like an oversight from
when I converted from flat files to a database.