Updated pedia to handle profession subtypes