Fix flags for empty region.