Improving $near operator, checking distance in kilometers