HHH-8699 - Multiselect with boolean predicate

Patch and test for HHH-8699 JIRA ticket.
Link: https://hibernate.atlassian.net/browse/HHH-8699

Best regards,
Lukasz Antoniak