v.22.12Bug Fix

Fixed primary key analysis with toString(enum) conditions

Fixed primary key analysis with conditions involving toString(enum). #43596 (Nikita Taranov). This error has been found by @tisonkun.