issue #19796: Finally solve the original problem of hiding/showing costs when applicable.