Collection element class was overwritten by parent class element class