Use issubclass in _prefix_user_fields to check for UserProfile subclasses, rather than just UserProfiles (which won't exist).