Fixed passing in wrong constant for compendium type