Remove assignments from DB that were not referenced anymore in new saves