Remove the facet parameter if it's empty
The search session gets serialized as a Hash not a HWIA. See e50c671