Trivial - replace a few double quotes with single quotes.
Resource Index - search field options.term instead of options.class.