Fixing issue with mssql and CURRENT_DATE