Prevent time string normilize function from running with undefined value.