fix for CheckNearestObservations()