222762b778
Related to #8331. We'll need to revisit some of the get/insert logic to make sure this doesn't actually happen,
but at least it'll stop crashing for now.
(cherry picked from commit dd6c9ce2fe)