Fixed batch acking if the whole batch fails