Changed to use HConsistencyLevel

I finally found the utility class that does the conversion, so I changed
it to use HConsistencyLevel to keep it more consistent.