fix for repeating fields displaying previous data in the "add_extra" fields (thanks Jonathan @specialbrand)