Expand out the prefix setting from a ternary operator