Fixed string vs boolean bug