Fix finding h1 with attributes