Fixed crash when non-leader was started