Fixed category adding issues for post creation