You may want to just check for `upstream.uuid` in case it's null.