keep URL clean when search input is empty. Closes #11