Fixed missing scheduling for if and switch jumps.