Fixed the issues with the comparison feature.