Fixed issue 8201
http://hercules.ws/board/tracker/issue-8201-map-server-crash/