Invert filter not working. Should be fixed