Checking for null doesn't work here becuase an empty list is returned when the tag is not found.