Fix not continuing on after first path check for apidocs