Fixed adding emc bug

This will prevent an almost-near-impossible infinite emc bug.

This would probably be only possible if someone were to program this in, however it's still good to fix a bug.