added conditional to handle answers block with no child answer