Fixed semantic search bug