Fixed null reference to seqid