#488 Fixing bug in similarity server when performing similarity search with target file