Fix weird spacing around the ternary operators