Check whether `$arrParentIds` is empty in `Controller::getChildRecords()`