Fix search with pusState navigation