Fixing bug that causes internal server error in sync-service due to null workspace_id