Even the common taboo against homosexual sex could have been beneficial to primitive societies because such practices were significantly more likely to spread disease through the population. Obviously, modern medicine makes this a non-issue, today.
Umm... really?? I suppose you haven't heard of the 'epidemic' known as HIV/AIDS?