### 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.

{
        while (first != last) {
            if (!(*first)) return false;
            ++first;
        }
        return true;
    }
};
struct CNodeSignals
{
    boost::signals2::signal<bool (CNode*, CConnman&), CombinerAll> ProcessMessages;
    boost::signals2::signal<bool (CNode*, CConnman&), CombinerAll> SendMessages;
    boost::signals2::signal<void (NodeId, const CNode*)> InitializeNode;
    boost::signals2::signal<void (NodeId, bool&)> FinalizeNode;
};
CNodeSignals& GetNodeSignals();
enum
{
    LOCAL_NONE,   
    LOCAL_IF,     
    LOCAL_BIND,   
    LOCAL_UPNP,   
    LOCAL_MANUAL, 
    LOCAL_MAX
};
bool IsPeerAddrLocalGood(CNode *pnode);
void AdvertiseLocal(CNode *pnode);
void SetLimited(enum Network net, bool fLimited = true);