Fixed Perl warning. Not checking if a CDS has been seen already when the corresponding variable is not defined. #771