[#66110156] handled the Object not subscriptable error.