Added getCategoryByIDAndPersonID for selecting categories only by person.id