Add TSV output
Fix timerange pqwmn queries