Make Inventory command not cause exceptions when invalid locations/entities are supplied.