added a debug message when ItemDataIndex::insert() fails.