In this issue, the individual has too many records coming back from Fetch_Gong_History causing the doxie.phone_noreconn_search() service to fail which is expected.
However, when turning off Gong_history via the 'ExcludeCurrentGong' parameter, I noticed that the service was still failing.
This is occurring because there is an 'exists(gong_recs)' call being made despite 'ExcludeCurrentGong' being turned on.
I thought the fix would be as simple as surrounding it with an if (or iff) condition but to my surprise it still fails.
I recreated a little code snippet illustrating the problem for you to look at. Here are the links (workunits) and the issue at hand: