[BZ 1070521] Fixed retrieval of OOB datapoints.

(cherry picked from commit 7ceb5f74938f720919c378a93ab82a0e66e56702)