Moved visibility check of of loop, added asserts
Moved visibility check of of loop, added asserts

1ace/sway,SirCmpwn/sway,ascent12/sway,taiyu-len/sway,1ace/sway,ascent12/sway,taiyu-len/sway,ascent12/sway,1ace/sway,taiyu-len/sway