BUG: Bug in Panel indexing with an object-like (GH9140)

closes #9140