BUG: orthogonal eval issue with use of uninitialized variable

I have no idea why there's no test failures for this, but the old version is clearly wrong. Ideas for how to add a regression test welcome - I'm not too familiar with this code.