Fix relaying on order of keys returned by maparray.