Correcting variable misuse in facet blacklisting code