Fixed minor bug in Server class.