Corrected some bad string comparisons

This fixes some instances of the server crashing when adding bots.