How strange, I didn't expect
that to happen!

Is Polynesia in your game? I suspect this is a bug with the vanilla "GetCityIndexPlot" function. I'll get this fixed right away by replacing it with one of my own.
It's frustrating when vanilla functions don't work properly...