Stability of gravity with a cosmological constant