'customSuperentity' method's bug fixed: sometimes - [NSEntityDescription managedObjectClassName] returns an empty NSString, but should return 'NSManagedObject' instead.