Bug correction inside itemgetter