Fix bug with components with ID 0