fix bug in MapDom comparison
MemDom WIP