Fixes to append when loop label is present.