Fixing loop flag support.