Fixed how loop bounds are transmitted to iteration edges