Fix sgh mpm flags assignment