Tidy up duplicate query redirect.