Fix for fetching inventory data