Fixed Bug #7188

http://hercules.ws/board/tracker/issue-7188-delitem-script-command-failed
Signed-off-by: shennetsind <ind@henn.et>