My guess would be this crash (reported in #6175) was happening because of deleted accessories/accessory rows.