Found a flag processing bug. Fixing now