Fix bug with contact types with certain TLDs