Use class category id and check for numeric category