Fixed error with lxml parsing