fixed issue #1025: Traversal not as expected in undirected graph

Conflicts:
	CHANGELOG
	js/server/modules/org/arangodb/simple-query.js