Fix for SearchBar not loading tags correctly

@kamaulynder this is for you, so that you can see what I changed to make your branch work properly.