Fixed a bug with comparing entered text with known ai names