whitelist: Make sure listed IDs are null-terminated.