Didn't the majority of the scientific community once believe that blacks were mentally and otherwise inferior to whites?

Good thing people didn't just accept that majority scientific opinion.