A small fixup (closes #3673)

1) Fixing a typo
2) Passing a boolean value instead of std::string value
Merge pull request #3676 from andrsd/fix

A small fixup (closes #3673)