Fixed issue where extension fails on fields (e.g. checkboxes) where the text node isn't the first child of the label