He created the problem, you appear in court on the dates and inform the judge where he is and the problems and I am sure they will straighten this out, but first talk to him as he might be hoping they do not know about each other. (fat chance)
My name is Stephen R. Cohen and have practiced since 1974. I practice in Los Angeles and Orange County, CA. These answers do not create an attorney client relationship. My answers may offend I believe in telling the truth, I use common sense as well as the law. Other state's laws may differ.. There are a lot of really good attorneys on this site, I will do limited appearances which are preparation of court documents it is , less expensive. However generally I believe an attorney is better than none.
Relax, it's the system. The sheriff of one county may not have had enough prisoners to make his bus trip worthwhile. If he doesn't like his court appointed attorneys there are enough around your area for you to pick and hire one. Maybe they can expedite the case.