I would have raised the flop for sure, you were lucky you didn't face a huge river bet.