Was this hand held or tripod mounted?
You also need to bear in mind that when a region becomes out of focus, its 'edges' spread (which is why it is out of focus!) and it is the software's job to identify the edges. Tproblem with ojects like a diamond is that the brightness of the edges (which is what makes diamonds attractive) creates a bloom effect over nearly all frames so the software finds hard to see a frame where the edge is defined.
The same thing happens with macro shots of moss with dew on it
If you zoom in on the image the grain on the table top is in OK focus. Some stones on the 'V' are in OK focus others are not and this is where the iridescence of the stones is causing that 'bloom'.
The first thing I can suggest is not to use direct flash - using bounced flash (or highly diffused flash, same thing) may help.