Fix paginate_by_sql for MSSQL adapter

paginate_by_sql adds LIMIT option which is not working with MSSQL.