Set request parent doc if subdoc

Signed-off-by: Ian Macalinao <me@ian.pw>