fixed looping bug in Contacts.inspect_id