SPR-10329 StringToEnumConvertFactory issue

This is a fix to an issue with the StringToEnumConvertFactory when the
class used is getClass() on a value off an enum, where the values have
implementations.