The instability of fronts in a porous medium