Fix undefined index notice in AOD_Index->index