Removed unnecessary quick_panel index check