Fix test for early termination of set enumeration.
Sets do not enumerate in order.