MAGN Issue 830 Fix

Edited the addition of the comments during compile expression