If expecting a bool and receiving anything other than true or false, this is invalid and should fail. This change triggered a unit test failure which uncovered several actual problems.