fix for issue #2535
fix for issue #2535 and some whitespace to the previous commit
Merge pull request #2536 from wshatch/2.2/develop

Closes #2535: Streams add_fields function returns bool