Fix case where PairGrid vars are passed in array