Homemade Valve Spring Compressor.

When you compress the spring, what keeps the valve from going with it? (I'm guessing it's to be used on a head still installed on the motor)
I made mine to use with the heads off, for solid roller springs. The big *** C-clamp in the picture.

20230412_143857.jpg