Closed
Description
Code like
session.Query<GrandChildEntity>()
.Where(e => parent.Children.Contains(e.Parent))
.FirstOrDefault();
worked in v4, but fails in v5.
Self-contained test: https://github.com/v-kabanov/Nh5Regression/blob/master/ContainsSubquery.cs