Fixed bug when selecting multiple graphs in search