Fixed filter not validating custom var values (Fixed #7)