fixed the issue of nodes being duplicated on the open list (and thus checked many times)