On inspection: the article Track gauge was already marked as being in the category Category:Track gauge, with an empty category sort-tag. The bot should have taken this as a hint that the article was about a concept, rather than a thing, and thus not geocodeable:, but the heuristic didn't work in this case. I'll review the code to find out what went wrong.