getLatestUndeletedPid will return string #1884