Adds more code for viewing a comparison retrieved from DB.