Fixed minor bug relating to redrawin the entries.