by Tim Hunt.
I am afraid that you are asking me a detail about the Moodle 1.9 database structure that I can no longer remember.
But having had a quick look at the Moodle 1.9 code, that is very suspicious. Moodle 1.9 did initialise the grade to 0 when you started a question, so it should never be blank.