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

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