Fix middleware (wasn't calling next)