Fixed Bug #7312

http://hercules.ws/board/tracker/issue-7312-bug-instance/
Signed-off-by: shennetsind <ind@henn.et>