Set valid_from & valid_to to None if not set.