Fix the handling of the "Valid Until" date/time on the role dialogue on Mac.