> Why isn't the enum uppercase, like the things you're going to lookup?

Another question: why does the log record the string you intended to look up, instead of the string you actually did look up?