Fix minimum cluster size check