Fixed an error while trying to remove XCC URI from to be printed list.