incorrectly compared number of attempts against MaxBulkRetries