Fix using && for flags

Authored by aacid on Oct 25 2017, 1:03 PM.