Empty string check for duration setters.