uppercase tagname if looking for form elements; fixes #372