BUG: acf criterion breaks if no ACF peak is found