Fixed stupid MSSQL nonsense