Logic fix for TermFacet _serialize check

TermFacet should raise exception only if none of the 'field', 'fields', 'script' attributes is specified.