IndexOutOfRangeException at NPCVendingMachine.RefillFixed

Added More Items To Compound Options Script Now The RCON being spammed with the text below, but the script works and the items are ingame

(Filename: <8b307985874147eca212836ef31034d8> Line: 0)
 
IndexOutOfRangeException: Index was outside the bounds of the array.
  at NPCVendingMachine.Refill () [0x0005f] in <8b307985874147eca212836ef31034d8>:0 
  at InvokeHandlerBase`1[T].DoTick () [0x000be] in <6409b009eb374969a1507514d17e7cc0>:0 
  at InvokeHandlerBase`1[T].LateUpdate () [0x0000c] in <6409b009eb374969a1507514d17e7cc0>:0

This spam has only happened after adding 2 items to the compound option script

IndexOutOfRangeException: Index was outside the bounds of the array.
NPCVendingMachine.Refill () (at <8b307985874147eca212836ef31034d8>:0) InvokeHandlerBase`1[T].DoTick () (at <6409b009eb374969a1507514d17e7cc0>:0) InvokeHandlerBase`1[T].LateUpdate () (at <6409b009eb374969a1507514d17e7cc0>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) Oxide.Plugins.MyLogger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
IndexOutOfRangeException: Index was outside the bounds of the array.
NPCVendingMachine.Refill () (at <8b307985874147eca212836ef31034d8>:0) InvokeHandlerBase`1[T].DoTick () (at <6409b009eb374969a1507514d17e7cc0>:0) InvokeHandlerBase`1[T].LateUpdate () (at <6409b009eb374969a1507514d17e7cc0>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) Oxide.Plugins.MyLogger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
Should be resolved with the latest update.

The new CompoundOptions data file has extra fields that the previous version of the file did not have. 
These fields were not automatically added to the old data file.

Solution: 
I saved my previous CompoundOptions data file. Deleted the plugin and all associated files.
Uploaded the latest version of the plugin. Put the old and new data file side by side...
Copy and pasted all the id's and prices from my old data file into the right spots of the new file. 
It was during that part I noticed that the new data file had extra values for things like weight, etc.

So the reason we're probably getting those index/cant divide by zero errors is because our old data file doesn't have those values at all. 

Hope this helps!

Locked automatically