Fixes a variable leak and simplifies low score filtration

Just some sweeping :tada: 

`lastRef` is leaking, and an iteration can be safely removed.