Fixed activequery select issue.