PIM-1885 Fix no hash redirection when creating a new tree