v.20.7Bug Fix

Fix KeyCondition Assertion for Monotonic Function with Type Mismatch

Fix assertion in KeyCondition when primary key contains expression with monotonic function and query contains comparison with constant whose type is different. This fixes #12465. #13251 (alexey-milovidov).