Add usage of nested variables within if statements.