Fix some dense mode INSERT panics