Fix LiquidDb::Insert query
Add support of nested transactions