if cosine similarity is not giving you the results you want, you could try a different metric like euclidean / manhattan / minkowski distance or jaccard similarity.
alternatively you could try changing the embedding model to see if that improves the comparisons