this is the actual bug: instead of choosing the closest product ion in mass, this code will simply select any product ion to match - and often it will pick the wrong one