Patching issue with equality