Fixed 'batchAdd' error reporting.