uniq truck query scope functioning