distinct can return error facet distinct on numbers return distinct error review fixes make get_facet_value more generic fixes