Fix up parsing bugs in link state server