Previously, we have a wildcard match which means we always hit it for 404 paths. This prevented us from returning 404 properly (instead we get 405s).