Fixes search and search by tag after pushState option.