Make utils.getPrototypeChain consistent with getAllPropVersions.