Fixed Bug #7401

Special Thanks to Vali
http://hercules.ws/board/tracker/issue-7401-new-skill-tree-db-bug/

Signed-off-by: shennetsind <ind@henn.et>