Reflect value returned is factor, not string

From reading the documentation, I expected a character string, not a factor.