set conditions as numbers in queries #87