How do I snap vertices back to the grid when they are slightly off?

As shown in the linked image I want to snap the vertex to the grid.
https://imgur.com/a/xa534kp

Shift S -> snap selection to grid.

Then, holding down control, move it to the correct grid point.

OMG thank you! This has bothered me so much for so long!