Fix regressions with `--lf` filtering too much since pytest 5.4.