Beans and prunes contribute to kidney stones.
Look up oxylates.
Like salt it seems to be a problem for a few and not a problem for most.