fix inventory not loading when the inventory is private

Looks like some things changed recently, private inventories were not loading anymore.