bool flags sometimes aren't automatically added to the map

must be a boost version/optimized or not thing. A bit strange