The military wants to help secure the midterm elections