Adjustments to support undefined values created by JasperSoft

I ran into problems again with undefined values caused by the way JasperSoft creates files.  These few adjustments seemed to fix my problems.

Please review these changes and add.

Thanks,
Bob