My stand alone Moodle 1.9 is a little newer than yours, not sure when this feature came in, but try this. Go to the gradebook, go to the full view. There should be a box at the top that says, "Agregate only non-zero grades." Check that box. That should allow that grade to be included in the total only if there is actually a grade in it and ignore when there is not.
Paula