Fixed gpa filter

It now actually does what it says on the tin. :)