Fix for ISSUE#25.  Applied patch contributed by danpsimer.
Fix for ISSUE#25.  Applied patch contributed by danpsimer.

treesea2014/reportng,ptsiakos77/reportng,dwdyer/reportng,zhenchubaba/reportng,treesea2014/reportng,donhenton/reportng,zhenchubaba/reportng,dwdyer/reportng,darker50/reportng,ptsiakos77/reportng,donhenton/reportng,darker50/reportng