Make it optional to redirect to the parent

Fixes #1420