Exclude IfNodes from rendered tree