Bug fix to return correct additional variable in getPanelDataVnames