Added fix for issue #128 with test case
Fix to debug logging for excluded fields.