### Describe the issue

bitcoin-qt: Debug pop-up window, Peers tab, right-click ban node for 1 hour, day, week, year does nothing. Disconnect node still works.
### Is the issue reproducible?

Yes.
#### List steps to reproduce below:
1. build master branch after commit https://github.com/bitcoin/bitcoin/commit/6423116741de2144872389cf63a621539ae79aaa
2. launch bitcoin-qt (on testnet is advisable)
3. test ban node list right-click functionality on Menu->Help->Debug pop-up window, Peers tab.

{
    
    unsigned int nRemaining = 24 - nHdrPos;
    unsigned int nCopy = std::min(nRemaining, nBytes);
    memcpy(&hdrbuf[nHdrPos], pch, nCopy);
    nHdrPos += nCopy;
    
    if (nHdrPos < 24)
        return nCopy;
    
    try {
        hdrbuf >> hdr;
    }
    catch (const std::exception&) {
        return -1;
    }
    
    if (hdr.nMessageSize > MAX_SIZE)
            return -1;
    
    in_data = true;
    return nCopy;
}
int CNetMessage::readData(const char *pch, unsigned int nBytes)