Fixes #90290 by removing the metadata the controller returns.
Merge pull request #268 from luisromangz/90290-RemoveObsoleteMetadataWhenUpdatingLayer

Fixes #90290 by removing the metadata the controller returns.