Fix bugs with packages and filter name.