Updated Basic _array_to_pdl to handle bad value.