If-Else if Node usage in Dynamo

Hello! I am trying to run this code block where the elements ending in “c” are an integer compared to “t” and the elements ending in ‘l’ are different lists, which, after a supposed if cycle, the first one complying with the conditions should be returned. I am trying it with this Design Script and can’t find the reason of why it is not doing what it is told to


any help is greatly appreciated.

Nevermind, the code actually works.