Fix app.use('/blog', mw1, mw2, otherApp)

This fixes the use case of mounting another app with preceding middleware, as introduced by #2224