fix a bug that initialized a search when hitting urls like /justice/profile