keep reference btw results and its map while filtering