Removed unnecessary range check for tableData & indexPath