Fixed error in exists.contact function

Fix #205