Fix to category level causing PHP Errors