Improvements to select all tri-state.