PHOENIX-846 Select DISTINCT with LIMIT does full scans (JamesTaylor)