The API docs didn't specify what the "integer" meant. Turns out it's a bitfield; we can't compare with equality.