Constraint existence of value into an array

In reply to bdreku:

The intention is to have the result within randomize if possible, not after.