correct pruning based on mincount