fix custom fields duplication in case they already exist on a post.