Avoid adding two layers of BoolQuery by adding the parent and child queries separately