Fixed issue with bool parameter.