Fix koa middleware example