Compare map changes correctly