[refs #1355] Enabled the distinct query option