Strange behaviour of map.pairs for Long keys

Hi,

I have a simple udf method for updating bin as a Map[Long, Int] to nil value:

function terminate_user_node(rec, node_id)
  for key, value in map.pairs(rec['auths']) do
    if (value == node_id) then
      rec['auths'][key] = nil
    end
  end

  warn("record: %s", tostring(rec['auths']))

  aerospike:update(rec)
end

and for auths={-8380895781053815284:1} I got this result: record: {-8380895781053814784:NIL, -8380895781053815284:1}.

Why -838089578105381_52_84 key is mapped as -838089578105381_47_84?

Version: aerospike/aerospike-server:latest