Compare mappings correctly.