Check for existence of list id during cleanup