Is discrimination in adoption wrong or not?

So now a major report endorsed by leading adoption groups recommends that adoption agencies be allowed to discriminate based on race:

The report recommends that the law — the Multiethnic Placement Act, which covers agencies receiving federal dollars and promotes a color-blind approach — be amended to permit agencies to consider race and culture as one of many factors when selecting parents for children from foster care.

The marriage equality crowd is always claiming that race analogies are perfectly legitimate when it comes to same-sex marriage. So it must be fair for me to use a race analogy with adoption – if the expert consensus is that adoption agencies should legitimately be allowed to use race as a factor in placing children, shouldn’t they also be allowed to consider whether a home provides both a mother and a father?