Fix for LXML errors.