Bug fix for alarming in spike sorting.