Fixed a little bug when getting nearest requests