Bug 8746 [Follow-up] Replace == by eq in string comparison