Correctly propagate boolean parameters.
Merge pull request #4106 from AndresTanasijczuk/booleans

Correctly propagate boolean parameters.