Speed up containOneLike by only trying to find one match

`containOneLike` performed the equality test on all array elements, even though one successful match is sufficient.