Replace <> with != in citation filter (invalid Py3 syntax)