Fixed crash on server startup (closes #185)