BUGFIX Map foreach doesn't iterate in the same order in Windows and Linux implementation