Correctly pass up SwiftType.Bool in comparisons