For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833