Fix warning filter evaluation