Improve sequence identification in regdelta and hive tables