Fix $item variable escaping.