Freeze in random_chain generation during composing with specific primary model types
Created by: J3FALL
In Composer we have initial population generation stage that uses random_chain function for it. However, if we set GPComposerRequirements(primary=[data_operations_only])
it will probably freeze due to invalid chain configurations.
It happens due to chain validation: if chain contains more than one identical data_operation in primary_nodes it is invalid.
Probably, we should improve random_chain function - modify invalid chains if it occurs and log this operation.