added null check
Merge pull request #16 from daniellemayne/2013.07

2013.07 - bugzid 3847: added null check