Fix invalid data passed to overridden constructor.