removed distinct_sql. Using the default implementation.