Fixes #7284 - BooleanValidator set expected_type as boolean