Parent was ignored in exists request

The routing was always set to null right after the parent was set.

Closes #3276