Fix autocomplete on /give crashing the client.