Adds a check to ensure terms are not inserted out-of-order into the DAWG