When you use search.Create (or load) and write filter for Select/Multiselect fields or internal id,
you might see this error.
TypeError: elem._marshal is not a function
Reason:
This happen when you add object in place of single value in filter ex: for list/record enter object not value.