The point of my post was to inform you of something important that happens in lua, because like you said, you are new to it. It is a common mistake and worth mentioning, even if you did already solve your problem. Just trying to teach
Without learning this information about how tables are assigned, then you're likely to make the same mistake again in the future (if you DID make that mistake).