The pathfinder works fine. The problem is with the criteria "search engine-like" feature.
A simpler alternative would be to implement a button for each of the base types (agri-planet, pleasure-planet, mining base, refinery, and finally specials) and just have the systems with the selected...