Fix detail view for Networks with parents or children

If a Network has a parent Network or child Networks, the detail view doesn't work because `Tablefier` tries to call a QuerySet method on a list.

This pull request resolves this issue and should prevent similar issues in the future.