Fixed boolean bug #67