Fix incorrect boolean expression; should have been string comparison