Persons by category bug fix