Fixed bug relating to how entries were added that resulted in duplication.