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

{
    setFontSize(consoleFontSize+1);
}
void RPCConsole::fontSmaller()
{
    setFontSize(consoleFontSize-1);
}
void RPCConsole::setFontSize(int newSize)
{
    QSettings settings;
    
    if (newSize < FONT_RANGE.width() || newSize > FONT_RANGE.height())
        return;
    
    QString str = ui->messagesWidget->toHtml();
    
    str.replace(QString("font-size:%1pt").arg(consoleFontSize), QString("font-size:%1pt").arg(newSize));
    
    consoleFontSize = newSize;
    settings.setValue(fontSizeSettingsKey, consoleFontSize);
    
    float oldPosFactor = 1.0 / ui->messagesWidget->verticalScrollBar()->maximum() * ui->messagesWidget->verticalScrollBar()->value();
    clear(false);
    ui->messagesWidget->setHtml(str);
    ui->messagesWidget->verticalScrollBar()->setValue(oldPosFactor * ui->messagesWidget->verticalScrollBar()->maximum());
}
void RPCConsole::clear(bool clearHistory)