The president is scheduled to fly to Dallas, Texas, for the Republican midterm convention