Fixed Map Zone/ID/Index Bug

Special Thanks to Zopokx for bringing this up!

Signed-off-by: shennetsind <ind@henn.et>