Fix silly syntax mistake.

Fix a silly syntax mistake — I had tried to use a C-style `!=`
inequality operator, whereas Lua’s inequality operator is `~=`.