Update score calculation to ignore negative scores.