BUG: (GH4726) bug in getting a cross-sectional using iloc/loc with a duplicate items index

closes #4726