fix(vercel): run edge middleware when isr is enabled (#17687)