A previous study with identical and non-identical twins suggested that people may inherit a certain vulnerability to having nightmares , said Dr. Tore Nielsen , one of the researchers on the new study .