Fixed middleware not calling next on othe rpaths