Fix for the gmetad restart problem

This fixes the need to restart gmetad all the time - just a nasty 2-line bug that I never knew about.