Fixed previous merge of KSS into master. Reverted beta exploration to apply to all states, not only non-fatal ones.