Handle a few more corner cases in coordinate parsing