What does this MR do?
Fixes a bug with the filtered search lists rendering the same item several times.
This happens when a dropdown is open (labels or milestones) which launches the ajax request & then quickly hidden before the request has finished. It will still render the data. Then when the dropdown opens again it takes the last item as the
templateString which happens to be the last rendered item from previously.