I am trying to loop through a list of items that are associated with a list of orders within my template and the loop is generating empty rows in my html because its looping