Fixed more changes on CORE-2106 for getting ContentItemId and ParentItem...

...Id
@yamunaBQ  Check the indentation