--- a/tests/utfInPath/utfInPath.sh
+++ b/tests/utfInPath/utfInPath.sh
@@ -5,11 +5,12 @@
 
 initvariables $0
 
-recollq -q '"simulating shock turbulence interactions"' 2> $mystderr | 
-	egrep -v '^Recoll query: ' > $mystdout
+(
 
-recollq Utf8pathunique 2> $mystderr | 
-	egrep -v '^Recoll query: ' >> $mystdout
+recollq -q '"simulating shock turbulence interactions"' 
+recollq Utf8pathunique 
+
+) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
 
 diff -w ${myname}.txt $mystdout > $mydiffs 2>&1