Added the convergence check condition for different layers

Added the convergence check condition for different layers. Earlier the
condition checked if only all three layers were active. Not it can
execute if it sees that MSC converges in after any one of the three
layers.