[PATCH 8/8] zone: Check early if a id is valid