Added additional query to findNearestDate