Against that number of limps you had to call. If you raised to 3 or 3.5x most of them wouldn't fold and your hand wasn't good enough to justify shoving preflop. You couldn't fold, also, because of the great pot odds.
After the flop, with two players going all in and you drawing for the nut flush, you had good odds to call. Even if you could know before hand that two of your outs were being held by another player, 7 outs to a flush is not bad, you just needed 2.6 to 1 to call and you were getting 2.59, pretty much break even. Of course, you didn't know that, so you only needed 1.86 to 1.
I would have done the same in most cases, except maybe for ICM reasons.