ENSCORESW-941: only store an entry in the mapping_set table if there are two databases to compare