NVelocity-24 invert the if clause, because then we didnt have the bug again in upcoming versions of nvelocity