Corrected context for setting useInstead parameter. Should be refdata value, not category. CLoses #59