Make sure that boolean and non-boolean config values are coerced correctly
Followed up on code review
Merge pull request #382 from nicolaasmatthijs/issue368

Make sure that boolean and non-boolean config values are coerced correctly