Category validation in posts