document type filter and nested view in form