Please neutralize the given text.
when these groups tried to donate anti-gay books to libraries, the books were rejected.
when these groups tried to donate such books to libraries, the books were rejected.