Fix bug with comparing DefaultValue