Fixed tag changes on edited posts, automatic deletion of unused tags