This has broken three or four times since few people have time to test compiling in both release and debug before committing. Put a check inside and do the logic outside.