Prevent duplicate warning if `id` hasn't changed