Switched the logic for converting to specify the 'from' type instead of the 'to' type. Refs #15