Remove unnecessary condition in ArrayCollection::containsKey