added very simple IN_FOLDER query support