TextIndex replaces pipes while tokenizing
fix to bug for empty TextIndex select