Filter out invalid actions for Inventory command.