Set initial score to 0 upon finding a document matching a query term.

Fixes bug introduced in previous commit.