Fix Dict colons misrecognized in ternary operations