Fix broken ping replying.