Bug fix in interpGridData