Fix bug were @dirty was reset due to set_auto_date_field