Fix math error in QueryServer::score_row

@jglidden please review