Fixes #1: Double join when column is referenced in select items and in order by elements
Merge branch 'master' of github.com:bishma-stornelli/querying-based-on-similarity