[api] Deep forking should be possible
With forks deeper then 1 (meaning forks of forks) the api breaks as it will
recursively ask for parents which in turn have not been fetched from the db.
Limiting the depth of the parent retrieval works around this.