It's impossible to determine from such a short clip.
The bag restores items with the correct spoil time, but the issue may occur if the first item of a certain type has a lower spoil time than others.
The logic:
Player closes their ibag.
Plugin goes through each slot 1 by 1 to add them to the dictionary which stores the values such as quantity, spoil times, skin ids, names etc.
In our imaginary scenario, the first item is raw bear meat with a spoilage timer of 200 seconds. This gets added to the dictionary and its spoilage value stored.
The second item in the list is the same item (raw bear meat). Since we already have raw bear meat added to the dictionary, it will automatically add the bear meat to the existing entry and simply increase the count. It does not take into consideration the spoilage timer of the second bear meat as we have already have a value.
Each time the bag gets opened, the items spoilage will begin counting down.
Eventually the stack of bear meat will get to 0 and will spoil.