Added check if parent IDictionary implementation is ManagedDictionary