When Somnath was made the speaker, Sonia ensured that in the event of withdrawal of support by the Left, Somnath, being from the Left will find it tough to dissolve his own house.
Now, putting Hamid there secures the upper house as well. The Left will gain nothing as he would not play any major role in Policy making.