U4-5931 - fix DocType inheritance issue