Fix flags which start at 1