Fixed a little bug. Now a person is inserted in the graph just once.