Fixed bug in ContextTypedValue that caused a class cast exception when a
configuration value is non-String