Fix a crash when doing sorted inserts at top level.

1 file changed