Fixed validation bug where hidden field groups would fail validation

Signed-off-by: Elliot Condon <e@elliotcondon.com>
minor comment update

Signed-off-by: Elliot Condon <e@elliotcondon.com>