Log the query used to filter the tree; may help in training users..
Merge branch 'master' into 1.9.x