Redirect to index if query params not present