Fixing bug in getPanelDataVnames call