The method stopped working because item_idx became a MultiIndex when item was a tuple.  I couldn't figure out how to concatenate the (Index, MultiIndex, Index) grouping.  Do you know a better way off the top of your head?  I could probably provide a method such as MultiIndex.to_index().  Hopefully, I'll work on this when I have a chance today or tomorrow.