Fix #733. Correct issue with key alerts.