Protects from nil objects passed into addEntry