Given you are automatically selecting the coords, it would help if you put the name of the problematic coord in the exception to aid debugging.