[FIX] Fixes compiler error for invalid compare types if one value is a proxy.