Fix relevant branches for variables.