Add fail case for document expansion