S-43035 Swap order of SQL inserts and XOG. Maybe it will make Jenkins not hang?