Handle redirecting if no input was put into search