[3.8] Fix doctrine transaction in lazaret patch