Fix problems with inputbar history and nick complete