SelectInventory Error Fix

We fixed an error-causing bug in SelectInventory.