Fix the OrderBy/Limit pushdown problem with DISTINCT