Add mutex to filter_entry.