Fix weird issue with loadpartnerinventory