remove_ill_conditions function

Remove invalid conditions from a list