fixed calculation bugs in relevancy scores and like processing