Fix behat filtering method