Fix routes reloading when no nodes exists