user
Smart cast to 'SPIGroup' is impossible, because 'parent.value' is a mutable property that could have been changed by this time