Fix undefined prevFacetsStr