[FIX] Reference to environment_id.type field