Fixed bug in goal test function
The planner now only returns a pruned plan if some action in that plan satisfies more than one goal