bug in wn queries helper