Fix a bug in email rewrite update which is set to 0 instead of ''