Fixes for DoMathRound.