In short, heterogeneous coalitions do backfire electorally, but mainly because voters feel distant from the coalition’s overall composition, not just because they dislike a particular partner party. More here: papers.ssrn.com/sol3/papers.....
Voting for Pre-Electoral Coalitions
Pre-electoral coalitions can improve parties' electoral prospects but may lose appeal when they combine ideologically diverse members. To analyze when coalition
papers.ssrn.com