Fix flow matching function

No match.