fixed cloning of indexDef planParams