Fixed comflict.
Changes to similarity score code in detailed compare.