Improved queryVar and parentsVar in mFilter2