Fix for previous commit on Mssql