changed condition for catching blank records
selects multiple sequences.