BUG-5280: fix a thinko around sealed transactions