camelCased get_latest_undeleted_pid method