bugfix: syncing with no nodes will no longer crash the server