For years, doctors used bad science to choose who could get a new liver