Currently, the implementation relies on the fact that the previous cross-reference value of a stream object is always a stream object. Instead during the cross-reference recursion, we should check on each step whether the previous cross-reference item is table or stream. Fix available in LIB Version 2017.3.1120.