Fixing keyerror for salesperson