Fixed a beforeSave issue when calling parent::beforeSave.