[FIXED JENKINS-18128]Filtering build queue/executors by inner items

a fix for https://issues.jenkins-ci.org/browse/JENKINS-18128