s4-kcc: removed redundent loop check