error catching for 'flat' search of CManager database