This issue is related to HHH-3319, but it only fixes the bidirectional collections use case. For unidirectional collections, we need to join the link table and the target child table to apply the @Where condition properly.