HNSW is an approximate nearest neighbour algorithm. This means there is always a chance a vector will not be found in a search even though it would be found via brute force (using where filter).
The solution to this problem is to re-index your data with higher efConstruction
parameter (for example efConstruction=512
) that way your newly built graph will have higher number of node candidates that will be considered during vector search.