Checking nested selects loop. #47