fixed filtering for load_graph_data by adding a distinct=True to the count. Fixes #303