BUGFIX: Fix issue with not reading edges correctly