Fixed self closing tag to access tags properly.