Rewrited BaseSqlTableModel's select(), and respective calls of onShow(),
onSearch() of DlgAnalysis, DlgAutoDJ, DlgHidden to avoid race
conditions.