Datetime picker: fixed a bug in DST rule processing (check for null)