The effect of Lewis number on the stability of a catalytic reaction