### What is actually happening? Custom middleware will be overridden by default middleware. ### What is Expected? Custom middleware should override default middleware.