Replace the exact_match logic by a negative penalty