Fix bug in contacts listing