Fix bug where types of contacts were shown on customers, even when there were none