The underlying issue causing the crash is that we were returning cached *supplementary view* layout attributes by accident from layoutAttributesForItem(at:).
Now, we only cache layout attributes for cells.
Crashes due to GridCollectionViewLayout returning outdated cached layout information when inserting “Auto” save states section for the first time.
To fix this, we now clear the layout cache in invalidateLayout(with:) when relevant.