Bug fix for validation on edit Custom fields.