Fix bug causing autocomplete results to show outdated collection