Fixed bug when using multiple fieldsets

Fixed a bug where, when using multiple fieldsets, for the second
fieldset the first inputFilter was used.