More informative error message
Fixed constant reordering interaction with patching labels.