Fixed context parsing in IfNode