Major bugfix: although MSSQL imports worked, they weren't actually using the new code, now it does