PROV-856 Fix transaction handling