Fixed issue with unregistered parent state.