[GraphDAO] fix bug made in refactoring in loading nodes from DB