[PATCH] Fix filter comparison when using !~