Fix broken AdvancedPIDFind()