I'd do your check here to see if  we have `remixedFrom` on `doc` instead of returning null from `generateIframeUrl`