Fixed missed presence condition flag.