Fixed another inventory bug