bug #3443: Reset address index when size is updated

(cherry picked from commit bda68ea01183725204b931a3da44c5ea5428cbc7)