Getting wrong route - fairly complete error description

OK, I have a routing problem, that seems to be working in the console,
but not in the app.

I have people that have nested tasks, like so:

Obviously this 9003000000071902 is a mistake. Should be 9 which is
the person ID. Don't ask... cut and paste deamons

Mikel