IfBlock with conditions fix