Fix trainVsTest filter lambda.