The data is coming from
https://nominatim.openstreetmap.org/search?format=json, and it appears that it doesn't do any keyword searching - so if you type "edinburgh" it
only finds regions which
start with edinburgh. Typing "City of edinburgh" will find the correct council region.
https://anvaka.github.io/city-roads/?q=city%20of%20edinburgh...