[Bug 862963] 3.3.2 and Perl 5.18.0: Altering hash requires restarting loop else UNDEFINED behavior.