Added first-of-type selector to select the first element.