Include distance when 'near' parameter is specified