fix queries_num
Fixed gentoo ebuild