Reinstated some filtering with FILTER_VALIDATE_BOOLEAN for attack logic