remove unused variables from filter.lua
fix Score Weight Values

Sequencing matters.

How on earth did I not see this bug before now?