FIX: fixed accepting values as a boolean test