This is a possibility. The mere existence of gallstones does not necessitate the removal of gallstones[1]. In this case, it is likely the pain, because it was similar to the one experienced with those having gallstone issues, was wrongly linked to the presence of gallstones.
[1] https://www.mayoclinic.org/diseases-conditions/gallstones/sy...