fix selectAll issue in IndirectSelect