Fixed slash commands for enable/disable/toggle behaving strangely with iconIDs out of range.
Also tried to fix ticket #931