I can't figure out why it's working for numbers... but try switching it to strings. There's no code that should make it work for literals at all.