Fix string equal assertion