Fix dialogue delivery_class lookup.