Fix bug on category contact

Contact deletion link to a category wasn't possible
Bad SQL request on contact list filter by category