BUG: Bug in multi-index selection in PY3 when using certain keys (GH5725)