ACCESS: Reduce the scope of a variable in Inventory
ACCESS: Fix a bug in plotInactive