Allowing to access BooleanCondition children by inheritance