Fixed the inventory update selection bug