ECMS-5428: Null in ECMS activities after migration from PLF-3.5 to PLF-4.0.1

Fix description:
  - Using getParent instead of getAncestor