MDL-38713 course: correctly set visibleold on mod creation

Remove uncessary set of visibleold in the form