Transaction..add_operations(): no-longer set ending to false even if count is > 0; update tests