[MONDRIAN-1496]  java.lang.ClassCastException: mondrian.rolap.RolapMemberBase cannot be cast to mondrian.rolap.RolapCalculatedMember. When looking up the $scenario property we were failing to verify the member is a scenario.