Dino diversity had a long pedigree, says study