Simplified contact matching logic.