EMI: Decrease the iterator position when a material is erased from the material list.
Merge pull request #1036 from Akz-/emi-lav-restore-fix

EMI: Decrease the iterator position when a material is erased from the material list.