Wittig reaction in presence of carboxylic acids The following reaction came in a recent test:



According to this reaction, the acidic hydrogen would protonate the ylide, and the standard wittig reaction would not take place. This source agrees with the same results.
However, according to El-Batta et al.1, the Wittig reaction in water can take place even in the presence of acidic groups, such as carboxylic acids and phenols:

It is also interesting that the Wittig reaction in water works well with substrates having acidic unprotected functional groups present; hence the presence of a carboxylic acid group (vide infra) or phenolic groups, such as p-hydroxybenzaldehyde, gives the corresponding cinnamate product 16 in 92% after heating the reaction for 1 h at 90 °C (entry 16). In sharp contrast, the same reaction in refluxing CH2Cl2(4 h) has been reported to provide only 8% of 16



Which one of these references is correct? Does the Wittig reaction really proceed in the presence of acidic groups? I'm looking for a good reference, along with an explanation on what occurs when a carboxylic acid group is present on the substrate.
References:

El-Batta, Amer, et al. “Wittig Reactions in Water Media Employing Stabilized Ylides with Aldehydes. Synthesis of α,β-Unsaturated Esters from Mixing Aldehydes, α-Bromoesters, and $\ce{Ph3P}$ in Aqueous $\ce{NaHCO3}$.” The Journal of Organic Chemistry, vol. 72, no. 14, July 2007, pp. 5244–59. doi:10.1021/jo070665k.
This works because the acidic starting material is going to be deprotonated as there is excess bicarbonate present. Because of the adjacent carboxylate group, the pKa of the phosphonium species is going to be around 6-7  pKa Table here so within the range where bicarbonate can deprotonate it. The reaction is between the anion of the starting material and the anion of the phosponium species in aqueous phase. This will only work for readily deprotonated phosphonium species and aqueous soluble aldehydes in the presence of excess base.