Pressing X (sell button) before inventory loads causes crash

Issue Type (Required):

Loadouts

Issue Description (Required):

I have noticed that in the inventory menu, if I switch between melee and guns inventory (or vice versa) and press the sell button X before the inventory loads, it will crash 100% of the time
Report:
GUID: 1770dacb-0bc5-42e4-b0df-011979586f22
Log File:
Info Type:

[Script Error]: …/views/inventory_weapons_view/inventory_weapons_view.lua:321: attempt to get length of field ‘_filtered_offer_items_layout’ (a nil value)

[PC] Do You Use Mods? (Optional):

No, I don’t use mods

Reproduction Rate (Required):

Constant (100%)

Platform (Required):

PC - Steam