RFE#1492: Remove the distinct query window.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Merge pull request #1325 from ashutoshdhundhara/rfe_1492

RFE#1492: Remove the distinct query window.