Fix a typo for returning only first match