--- a/tests/xml/xml.sh
+++ b/tests/xml/xml.sh
@@ -5,9 +5,9 @@
 
 initvariables $0
 (
-recollq xmlhuunique
-recollq xmlzhuunique
-recollq xmlzshuunique
+recollq -S mtime xmlhuunique
+recollq -S mtime xmlzhuunique
+recollq -S mtime xmlzshuunique
 
 ) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout