Fixed bug causing getItem / getOption to fail when given values containing backslashes.