Fixed nasty bug in BipartiteGraph::erase1 and erase2