Added handling for unknown IDs.