Fixed error in exists.contact function