Fix comparation of filter strings