Unexpected Substituent Effects in the Iso-Heterocyclic Boulton-Katritzky Rearrangement of 3-Aroylamino-5-Methyl-1,2,4-Oxadiazoles: a Mechanistic Study