accept arrays as well as strings in more places, fixed treating non-flags as always included
accept arrays as well as strings in more places, fixed treating non-flags
as always included

johnnyleung/bitmask