fixed the other deprecated `getEntityBy*` to correctly call the `getChildByProp` function