Fixing a possible comparison of symbol and string that will always return false