v.24.3Bug Fix

Fix incorrect result of uniqExact aggregate function

Fix possible incorrect result of aggregate function uniqExact #61257 (Anton Popov).