--- a/amanda/server-src/driver.c
+++ b/amanda/server-src/driver.c
@@ -3957,6 +3957,8 @@
     driver_debug(2, _("new_data: %lld\n"), (long long)new_data);
     driver_debug(2, _("data_free: %lld\n"), (long long)data_free);
 ;
+    tapeq_size -= data_free;
+    tapeq_size += new_data;
     driver_debug(2, _("tapeq_size: %lld\n"), (long long)tapeq_size);
 
     sched_size = runq_size + tapeq_size + dumpers_size;