Filtering out dead beans