If you are letting people add mounts to categories, make sure the category does not already exist before you set the mounts[category] to the empty array. Something like:
if nil == mounts[category] then mounts[category] = {} end
mounts[category][mount] = true
|