Fixes afterSave so that it doesn't trigger twice.