Fix bug with a contact without categories