Bug Fix: Correct order in which middleware is applied