Changed some processed_items fields to text, added retry