Added code to AddContentTagAction to handle current and parent directory entries