Fix bug 999729: Prefill continent issues with all continents.

I'd love to add some tests for this, but I'll have to do it in another PR. I want to move some code around to make it more testable as well. I've tested manually, and of course we'll get a good test on dev of the data.

@jgmize r?