Bugfix for ItemCommands.