"Religious freedom" laws, which are designed to discriminate against LGBT community have been ruled by Courts as illegal.
A legislator who helps block laws which are hateful and illegal is surely a moderate.
This is exactly what Missouri Republican Anne Zerr did and she paid the price of being a moderate.
Republican lawmaker who blocked anti-gay law defeated in GOP primary challenge · PinkNews
According to Brian Brown, NOM's president, who gloated over her defeat...
"We did what we promised and went after her, and I couldn't be happier that she has been defeated. Zerr joins a long list of Republicans who have ended their political careers by voting against the interests of people who support marriage as the union of one man and one woman."
Source:
NOM’s Promise to Missouri Voters Fulfilled - Turncoat Republican Anne Zerr Defeated in GOP Primary
Herein rests the biggest problem for the GOP.
The primary system motivates voters with the greatest amount of hate in their hearts to vote. As a result the GOP ends up having a slate of candidates all on the extreme side even though the moderates have been proven to be standing on the correct side of the issues according to both popular opinion and Court rulings.