Fix filter invert.

Filter invert now works correctly regardless of the number of filters chosen.