Make res middleware reflect opposite direction

`prev` is the natural opposite of `next`.