Previous problem caused by an old version of BeautifulSoup