Set include docs fix

only if onlyDocs is explicit true, setIncludeDocs must be true