Fixing incorrect settings flag.