Muddy Waters, Mercy and the Fifth Beatitude

Mercy

The fifth Beatitude tells us that those who are merciful will receive mercy. At first reading this sounds right to us. If you do good to others they will do good to you. It seem natural, like the popular concept of karma. Yet we see that this does not always hold true. How then should we understand this Beatitude?