Fixed problem with doc type and subtype select inputs not being populated.