The International Astronomical Union clarified changes to its code of conduct after researchers voiced concern that it protected harassers.