Added frontend entity filtering by query similarity.