bug fix: check goal state correct after guided search