Fix bug in Contact class.