Fixing wrong 'inside cycle' condition [ci skip]