Corrected bug. Was comparing strings using 'is'