There was a case where "childtype" had to be used instead of "type". (cherry picked from commit 9af1a0a7)