Does disliked choice of an imam necessarily invalidate the prayer?

Congregational Prayer: Its Status, Priority in Leading, and Conduct of the Imam