Possible fix for empty <value> elements