Empty loot tables when trying to assign barrel type to them

Hello everyone! I'm trying to make random barrels that generate different loot tables depending on the barrel type (for example - acacia barrel fills with cobblestone and stone bricks, mangrove barrel fills with beds and doors etc.) But as soon as i add a condition{ "condition": "minecraft:block_state_property", "block": "variantbarrels:mangrove_barrel", "properties": { "open": "false" } it starts to fill barrels with nothing, even if i set the condition to the default minecraft:barrel it still yields empty barrel, it fills a barrel only if there is no condition assigned

Here's the part of my .json file as an example (Minecraft version 1.20.1):

{
      "rolls": 27,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:dark_oak_stairs",
          "weight": 5,
          "quality": 0
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:acacia_door",
          "weight": 2
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:block_state_property",
          "block": "variantbarrels:acacia_barrel"
        }
      ]
    },
    {
      "rolls": 27,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:rotten_flesh",
          "weight": 10
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:enchanted_golden_apple",
          "weight": 6
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:block_state_property",
          "block": "variantbarrels:mangrove_barrel",
          "properties": {
            "open": "false"
          }
        }
      ]
    },
Continue to help post