Fix server exceptions when disabled.