Fixed block inside loops which failed to render blocks properly.