Added check for elements that should have no text but have custom id.
Use methot for determining if element should be ignored.