List.LaceLongest

I have this recreated from an AU class, but its just plain old not working. The list.lacelongest should work, but nothing happens. The goal is take the divide set the flow parameter of all air terminals in each space to an average value. Everything works up until the lacelongest. I have been able to change the flow of an air terminal using the element.setparameterbyname command so I am lost to why nothing happens here.![Code|1362x826](upload://xVsqgixaQTemTYdwWSPVhZqbq9P.jpg)`