Fixed possible endless loop.

1 file changed