Fixes #4697: MSSQL query builder does not work for newer MSSQL versions when LIMIT is used without ORDER BY