Fix trivial analyst server bugs