Disable optimization to eliminate illegal results

Fixes #893.