Allow boolean as value for setConditionParam

Related issue: #65