Fixing bug in isGuardedByConditional