Fix query vector size