Added custom object type field to the history table