Fixed non-stable dictionary key order messing with database insertion
Fixed an excception being thrown when using integer fields
Added column renaming in query mode