fix filter testing on mysql