Fix error if no batch route is available