Only set the magic for primary key _id indexes