Reverse order of middleware