If statement not working properly

Hello! In theory the IF function has to return a list of 6 points and it returns 5. It only removes the last item in the list. How can I fix this?

The number of items in list that feeds true condition (6) is not equal to that one feeds false condition (5) …. Recheck .

So both of true and false inputs needs to have the same list length? Any suggestions how to cheat this?

use ScopIf node instead

Exactly as @khuzaimah.ElecEng said

Thanks, That should work