Fix another bug where persons cats are deleted because the id looks like 1290435843 instead of 4 in the whereclause.