If you use the diamonds for restocking as an example, the amount is reduced so it goes down indeed, its not getting stuck and is not increasing, so at least for the diamonds is not working properly but I guess the author will only check this until a new update is required, sadly.