Add workaround of special case when lxml library return unexpected results for some edge-case XPATH