Fix bug in JobModel so that protocols can be found even if they don't
have parent metaprotocols.