Minor fix

It's better to write the test as 'near[k] ~= nil'. This allows for
boolean 'false' fields that could exist in Lua's global namespace
too. E.g., a "debug" field.