fix for transaction handling in conditions upload