Fix leave job route.