Fixed issue in BaseDateTimeTransformer constructor when input and/or output timezones are invalid.