Update classes/fieldset.php

Related to #1278. Also fix add_after.
Merge pull request #1283 from phil-lavin/patch-1

Update classes/fieldset.php