Fixes a minor error causing the full search tree not to be expanded