Taking a bottom up approach eliminates paths while going top-down only adds potential paths.
Because you're eliminating bad paths quicker, doing a breadth-first search becomes the optimal solution. A depth-first search in either direction is both wrong (as you've shown) and slow.