Fix string comparison. Closes #109