show correct seq no in debug output (bug #3849)