When I read it, as a native speaker, I read "treated poorly by the algorithm" as being a term for the behavior of culture and systems of the time, and not a hypothetical algorithm from the future that took as input the culture of the time and made decisions about fairness.
I think it was the use of "the algorithm" and not "an algorithm" that most affected my reading there - "poorly by an algorithm" comes across, to me, as "poorly by some algorithm", rather than "poorly by _the_ algorithm", implying a specific instance of a thing, already known by the reader or referred back to later, doing it.
Consider "treated poorly by the system" versus "treated poorly by such a system", which has an even clearer connotation, to me.