Legend Placer not working correctly but no errors

Hi, I created a standard legend placer for sheet adapted from another version I saw online to be able to input the information on excel, however when I run my Dynamo script, its completes all stages correct (Selecting the correct legend, selecting the sheets I want to place my legend on) But it will only place my legend on one of the 4 sheets Ive selected (In this case it happens to be level 6 out of 5,6,7 and 8) I’m not seeing an errors and I’m hoping it’s something minor I’ve just completely overlooked as I’m quite new to Revit!