Backported fix in DBOuputService transactions

This problem was solved in 7_1  and never back-ported.