Fix bug from updating FIELDS section

Misunderstood a line of code, rewritten to make it right.
Also put squiggles around a hashref :)