BUG: Bug in fully reindexing a Panel (GH5905)

closes #5905