dont do batch requests for empty arrays