Fixed bug when using multiple fieldsets

Fixed a bug where, when using multiple fieldsets, for the second
fieldset the first inputFilter was used.
Cleaner fix.
Removed leading space & added tests
Merge pull request #14 from AxaliaN/master

Fixed issue when using multiple fieldsets