Fixed parsing bug in GraphParser