SellLimitResetCoolDown not working

Hi, the cooldown on the sell limit doesn't seem to be working for me, unless it's my understanding of it.

"Low Grade Fuel": {
      "DisplayName": "Low Grade Fuel",
      "CraftAsDisplayName": false,
      "Shortname": "lowgradefuel",
      "ItemId": -946369541,
      "MakeBlueprint": false,
      "AllowSellOfUsedItems": false,
      "Condition": 0.0,
      "EnableBuy": true,
      "EnableSell": true,
      "Image": "",
      "SellPrice": 4.0,
      "BuyPrice": 10.0,
      "BuyCooldown": 0,
      "SellCooldown": 0,
      "BuyQuantity": [],
      "SellQuantity": [1,10,100,1000],
      "BuyLimit": 0,
      "BuyLimitResetCoolDown": 0,
      "SwapLimitToQuantityBuyLimit": false,
      "SellLimit": 10000,
      "SellLimitResetCoolDown": 1800,
      "SwapLimitToQuantitySoldLimit": true,
      "KitName": "",
      "Command": [],
      "RunCommandAndCustomShopItem": false,
      "GeneTypes": [],
      "SkinId": 0
    }

As you can see in the above snippet I have a sell limit of 10k on Low Grade Fuel but after 30 mins (1800 secs), it does not reset back to 10k, I've also noticed that in the SellLimitResetCooldowns.json file that it is blank and not populated with any data.

 

How can I make the sell limit reset back after a certain time?

OK, I figured it out, the sell limit has to be reached before it will enter out of stock state, Wouldn't it be better to start the cooldown as soon as the player sells 1 of the item?

 

There's a small calculation bug, if I have a sell limit set at 10k on an item the player has to sell, 10,001 of the item, so it enters out of stock state, Also, another small bug is if there's only 999 sell limit left, and you sell 1k of the item, the sell limit will go to -1, and you will have to sell 1 more of the item to put it into the out-of-stock state.