Fixed server crash on init, only happened in certain builds.