Fixed an issue with storing multiple stacks in item stash
Fixes an issue where the incorrect stack size may be logged (for stacks >64)