Fix some format comparisons