[10.x] Fix createOrFirst
on transactions
#48144
Merged
createOrFirst
on transactions
#48144