Fix bug in bad bucketing.