fix for backpack.isslotactivated

in cases where inventory amount was over 100k it would fail.