Fixed error highlighting bug in HMMM editor