NH-3075 - NullReferenceException when using Fetch/FetchMany

https://nhibernate.jira.com/browse/NH-3075
Fix and unit test
Can you add this query in HQL and check that this query generates the same as intended HQL?