[Wikidata-tech] Ensuring correctness of compatibility ranges