#2176: Fixing defect for groupping same concept image in same visit