### 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 GetSendBufferSize() const;
    void AddWhitelistedRange(const CSubNet &subnet);
    ServiceFlags GetLocalServices() const;
    
    void SetMaxOutboundTarget(uint64_t limit);
    uint64_t GetMaxOutboundTarget();
    
    void SetMaxOutboundTimeframe(uint64_t timeframe);
    uint64_t GetMaxOutboundTimeframe();
    
    
    
    bool OutboundTargetReached(bool historicalBlockServingLimit);
    
    
    uint64_t GetOutboundTargetBytesLeft();
    
    
    uint64_t GetMaxOutboundTimeLeftInCycle();
    uint64_t GetTotalBytesRecv();
    uint64_t GetTotalBytesSent();
    void SetBestHeight(int height);
    int GetBestHeight() const;
    
    CSipHasher GetDeterministicRandomizer(uint64_t id);
private:
    struct ListenSocket {
        SOCKET socket;
        bool whitelisted;
        ListenSocket(SOCKET socket_, bool whitelisted_) : socket(socket_), whitelisted(whitelisted_) {}