Fix multienums not being indexed correctly