Fixed regression in which createActivityType returned OptionValue IDs rather than ActivityType IDs (AKA OptionValue values).