Fix defaults-only middleware case, i.e. no args