Fixed bizarre php bug(?) where not all keywords were being copied into the results array. See similar problem here: http://stackoverflow.com/questions/775463/ignorance-or-bug-on-phps-foreach-construct

It would appear that having defined $value as being a reference variable above, using it again in the foreach loop was a bad plan - causing the original array $original to actually be modified during the foreach loop.
Merge pull request #126 from rosiel/7.x-foreach-fix

Fixed bizarre php bug(?) where not all keywords were being copied into ...