Bug 860659 - elementslib.Lookup() fails if element in reduceLookup() does not exist yet. r=hskupin, r=ctalbert