While I'm not a fan of censoring research, I think this is a case where the research community should refrain from publishing results that could help replicating such algorithms.
EDIT: Just to be clear, I don't say that this study makes sense or works. But there are areas where large parts of the population really hate homosexuality. Just thinking this could work can make them use such a system. Especially in situations where you can afford false positives. So next time you want to travel to a country it could happen that they don't let you in because the algorithm says that you're likely gay.