Small refactor on how parent items for comment operations is handled