Resolved a race-condition in the clientside inventory code