nested selects = queries behaving