Fixed flawed function match rate