HHH-6877 Multiple LEFT OUTER JOIN subcriterias filters middle level children

https://hibernate.onjira.com/browse/HHH-6877

Background: https://hibernate.onjira.com/browse/HHH-2049?focusedCommentId=42499&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-42499