This week, the social networking site Tumblr banned the very thing that drove many people to its site: adult content. Many cheered that Tumblr had finally caught up with the times, echoing anti-pornography policies adopted by Facebook, YouTube, Instagram and others. But there was another set of voices you might not have heard — the voices of women and the L.G.B.T.Q. community — who pointed out that this change will destroy a safe space for self-expression, discovery and connection. While we can get hung up on debating what kind of content should or shouldn’t be allowed on a particular platform, none of that alters an equally important but less-visible problem: When tech companies tackle large-scale problems with large-scale solutions, underrepresented groups are often further marginalized as a result. The change in Tumblr policy seems to have been born from a reasonable concern. In this case, child pornography was discovered on the platform. There is, of course, a big difference between child pornography and adult content, but Tumblr may have decided that the only way to effectively filter out the former was to eradicate the latter. Or it may simply have decided that moderating pornography was too expensive. Whatever the case, Tumblr said that it was all in favor of creative expression and deep community, but that it would ban all adult content — specifically, all “images, videos, or GIFs that show real-life human genitals or female-presenting nipples,” and any content depicting sex acts.This is not the first time a social media or blog platform has banned adult content. Twitter, Facebook, and many other platforms all prohibit pornography. But in the United States, we seem to ignore public debate about the censorship of sex and the human body, reflecting the American tendency to get more offended by the sight of a female-presenting nipple than by guns, hate speech or violence.While all efforts must be made to eradicate illegal content on Tumblr, it’s important to acknowledge that underrepresented groups have carved out safe spaces on the platform. Tumblr has thrived in part thanks to its unique identity as a place for adult content. Young women dominate the platform, and many turn to it as a place to find more empowering, female-centric takes on pornography and the female body. On Tumblr, one could find pages dedicated to celebrating bodies of all types, could browse sophisticated fetish images curated from a female perspective, and could find GIFs and videos that — unlike most mainstream pornography sites — depict female pleasure.Some of Tumblr’s users spoke out against the company’s decision, like Vex Ashley, a performer who makes pornography, who tweeted, “I can’t tell you how important it is for work about and with sex to have space to exist next to work about every other part of human experience.” She used Tumblr to socialize and network, and as a place to share videos, images and behind-the-scenes photos. Similarly, many in the L.G.B.T.Q. community have said the adult content on Tumblr provided a space to connect with those with similar interests and to explore sexuality without judgment.“If not for tumblr i probably wouldnt have realized or even accepted the possibility of me being gay/trans,” said one trans Tumblr user (who goes by the Twitter handle of @nonsensecodons). The problem isn’t just about agreeing on what kind of content to allow on a platform, or whether adult content is a positive or negative force in society. It’s also that tech companies like Tumblr make statements about wanting to be a positive place for diverse communities, all the while not truly understanding these communities and allowing their algorithms to target their adult content.To be fair, it is a hard nut to crack. Platforms with millions of users need algorithmic solutions to solve issues like content regulation at scale. The problem is, machines are not yet very good at nuance. Can Tumblr’s artificial intelligence tell the difference between a curated page of visual erotica and violent sexual imagery the same way a trained human could? Probably not. There are many examples of Tumblr’s A.I. making mistakes, in which non-explicit fan art, pictures of a person’s hands, a cartoon image of two men kissing and a vigorous, sweaty game of Ping-Pong set off the platform’s A.I. filters. Tumblr has said there will be an appeals process staffed by real live humans, but the human part seems like an afterthought, as it so often does with tech companies.While there is no perfect solution, there are many steps Tumblr could take if it truly wanted to support these communities. A more nuanced policy could be developed and then implemented through greater short-term investment in more human moderation and long-term investment in A.I. Without the ability to judge nuance at scale and to distinguish between empowering versus damaging content, Tumblr has adopted a policy that destroys communities who are among its greatest fans. It is a lesson all tech companies should keep in mind when they are debating policy changes: When you cast a wide net, you may sacrifice a group you never intended to hurt. Jessica Powell (@themoko) is the former head of communications for Google and the author of “The Big Disruption: A Totally Fictional but Essentially True Silicon Valley Story.”Follow The New York Times Opinion section on Facebook, Twitter (@NYTopinion) and Instagram.