Fix some math blocks

Merged Richard van der Hoff requested to merge rav/fix_math into master

Merge request reports