Fixed some small issues with GreedySearch