Fixed bug with column order in SQL init instructions