Fix related to Trac #404, allows nn_gridded to work when the ungridded sampling data has coordinates not in the gridded data.