Fixed incorrect string comparison