Exit statement does not work inside IF and End If.