Next fix for AB testing

Avoid an issue with flags field not being set (by @rychu)