Better logic for matching feed items