Child requirement IDs weren't working after refactor. Fixed db side to make sure it doesn't break again.

Viewing single requirement is a lot nicer now on a web client.

Signed-off-by: Tushar Narayan, Sam Abradi