You probably want to exclude layers that don't have `id` set.