I will add the parens just to be safe.

As for your other comment, yes, that's how min cost calc always worked, and that is what Aaron pointed out in recent comment on the ticket. Matt & I had a call with him about it. We don't want that logic changed for now but will discuss later.