Fix broken AdvancedPIDFind().