Make _conformDOM work with nested elements

I was having trouble using this with Bootstrap since Bootstrap relies on nested form elements. This fixes it.