Fixed Crash when dealing with Inventories and FMP