Group index goal null conditions fix

Fix the NPE error in the Hibernate CriteriaQueryTest.testProjectionCache test. Fix is adding a null pointer check to the GroupIndexGoal#selectivityConditions() method. 

Test is the minimal test case reproducing the problem.