try to return valid IDs in removed records

I'm not sure this is a good idea but it does seems needed.