Fix 'zero length field name in format' error

Take a look at /admin/metric/sample/ when it is running with python 2.6 (as done locally).  There is an error, this should fix it.