Unexpected Predicate Behavior

A predicate I made isn't working how I'd thought it would, the intended effect was for the predicate to pass if either A: In lush_caves, or B: above Y55 and in terralith:blooming_valley

    {
        "condition": "minecraft:any_of",
        "predicate": {},
        "terms": [
            {
                "condition": "minecraft:location_check",
                "predicate": {
                    "biomes": [
                        "minecraft:lush_caves"
                    ]
                }
            },
            {
                "condition": "minecraft:location_check",
                "predicate": {
                    "position": {
                        "y": {
                            "min": 55,
                            "max": 320
                        }
                    },
                    "biomes": [
                        "terralith:blooming_valley"
                    ]
                }
            }
        ]
    }
]```
It does not appear to pass when in a lush cave (haven't tested blooming valley yet), how can I fix this?
Continue to help post